/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lambkit.module.cms.rpc.model.sql;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2020-02-25
 * @version 1.0
 * @since 1.0
 */
public class CmsFileCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static CmsFileCriteria create() {
		return new CmsFileCriteria();
	}
	
	public static CmsFileCriteria create(Column column) {
		CmsFileCriteria that = new CmsFileCriteria();
		that.add(column);
        return that;
    }

    public static CmsFileCriteria create(String name, Object value) {
        return (CmsFileCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("cms_file", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public CmsFileCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public CmsFileCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public CmsFileCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public CmsFileCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public CmsFileCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public CmsFileCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public CmsFileCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public CmsFileCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public CmsFileCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public CmsFileCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public CmsFileCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public CmsFileCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public CmsFileCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public CmsFileCriteria andFileIdIsNull() {
		isnull("file_id");
		return this;
	}
	
	public CmsFileCriteria andFileIdIsNotNull() {
		notNull("file_id");
		return this;
	}
	
	public CmsFileCriteria andFileIdIsEmpty() {
		empty("file_id");
		return this;
	}

	public CmsFileCriteria andFileIdIsNotEmpty() {
		notEmpty("file_id");
		return this;
	}
       public CmsFileCriteria andFileIdEqualTo(java.lang.Long value) {
          addCriterion("file_id", value, ConditionMode.EQUAL, "fileId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileIdNotEqualTo(java.lang.Long value) {
          addCriterion("file_id", value, ConditionMode.NOT_EQUAL, "fileId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileIdGreaterThan(java.lang.Long value) {
          addCriterion("file_id", value, ConditionMode.GREATER_THEN, "fileId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_id", value, ConditionMode.GREATER_EQUAL, "fileId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileIdLessThan(java.lang.Long value) {
          addCriterion("file_id", value, ConditionMode.LESS_THEN, "fileId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_id", value, ConditionMode.LESS_EQUAL, "fileId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("file_id", value1, value2, ConditionMode.BETWEEN, "fileId", "java.lang.Long", "Float");
    	  return this;
      }

      public CmsFileCriteria andFileIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("file_id", value1, value2, ConditionMode.NOT_BETWEEN, "fileId", "java.lang.Long", "Float");
          return this;
      }
        
      public CmsFileCriteria andFileIdIn(List<java.lang.Long> values) {
          addCriterion("file_id", values, ConditionMode.IN, "fileId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileIdNotIn(List<java.lang.Long> values) {
          addCriterion("file_id", values, ConditionMode.NOT_IN, "fileId", "java.lang.Long", "Float");
          return this;
      }
	public CmsFileCriteria andFileNameIsNull() {
		isnull("file_name");
		return this;
	}
	
	public CmsFileCriteria andFileNameIsNotNull() {
		notNull("file_name");
		return this;
	}
	
	public CmsFileCriteria andFileNameIsEmpty() {
		empty("file_name");
		return this;
	}

	public CmsFileCriteria andFileNameIsNotEmpty() {
		notEmpty("file_name");
		return this;
	}
        public CmsFileCriteria andFileNameLike(java.lang.String value) {
    	   addCriterion("file_name", value, ConditionMode.FUZZY, "fileName", "java.lang.String", "Float");
    	   return this;
      }

      public CmsFileCriteria andFileNameNotLike(java.lang.String value) {
          addCriterion("file_name", value, ConditionMode.NOT_FUZZY, "fileName", "java.lang.String", "Float");
          return this;
      }
      public CmsFileCriteria andFileNameEqualTo(java.lang.String value) {
          addCriterion("file_name", value, ConditionMode.EQUAL, "fileName", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileNameNotEqualTo(java.lang.String value) {
          addCriterion("file_name", value, ConditionMode.NOT_EQUAL, "fileName", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileNameGreaterThan(java.lang.String value) {
          addCriterion("file_name", value, ConditionMode.GREATER_THEN, "fileName", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileNameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("file_name", value, ConditionMode.GREATER_EQUAL, "fileName", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileNameLessThan(java.lang.String value) {
          addCriterion("file_name", value, ConditionMode.LESS_THEN, "fileName", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileNameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("file_name", value, ConditionMode.LESS_EQUAL, "fileName", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileNameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("file_name", value1, value2, ConditionMode.BETWEEN, "fileName", "java.lang.String", "String");
    	  return this;
      }

      public CmsFileCriteria andFileNameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("file_name", value1, value2, ConditionMode.NOT_BETWEEN, "fileName", "java.lang.String", "String");
          return this;
      }
        
      public CmsFileCriteria andFileNameIn(List<java.lang.String> values) {
          addCriterion("file_name", values, ConditionMode.IN, "fileName", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileNameNotIn(List<java.lang.String> values) {
          addCriterion("file_name", values, ConditionMode.NOT_IN, "fileName", "java.lang.String", "String");
          return this;
      }
	public CmsFileCriteria andFileSizeIsNull() {
		isnull("file_size");
		return this;
	}
	
	public CmsFileCriteria andFileSizeIsNotNull() {
		notNull("file_size");
		return this;
	}
	
	public CmsFileCriteria andFileSizeIsEmpty() {
		empty("file_size");
		return this;
	}

	public CmsFileCriteria andFileSizeIsNotEmpty() {
		notEmpty("file_size");
		return this;
	}
       public CmsFileCriteria andFileSizeEqualTo(java.lang.Long value) {
          addCriterion("file_size", value, ConditionMode.EQUAL, "fileSize", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileSizeNotEqualTo(java.lang.Long value) {
          addCriterion("file_size", value, ConditionMode.NOT_EQUAL, "fileSize", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileSizeGreaterThan(java.lang.Long value) {
          addCriterion("file_size", value, ConditionMode.GREATER_THEN, "fileSize", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileSizeGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_size", value, ConditionMode.GREATER_EQUAL, "fileSize", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileSizeLessThan(java.lang.Long value) {
          addCriterion("file_size", value, ConditionMode.LESS_THEN, "fileSize", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileSizeLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_size", value, ConditionMode.LESS_EQUAL, "fileSize", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileSizeBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("file_size", value1, value2, ConditionMode.BETWEEN, "fileSize", "java.lang.Long", "Float");
    	  return this;
      }

      public CmsFileCriteria andFileSizeNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("file_size", value1, value2, ConditionMode.NOT_BETWEEN, "fileSize", "java.lang.Long", "Float");
          return this;
      }
        
      public CmsFileCriteria andFileSizeIn(List<java.lang.Long> values) {
          addCriterion("file_size", values, ConditionMode.IN, "fileSize", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileSizeNotIn(List<java.lang.Long> values) {
          addCriterion("file_size", values, ConditionMode.NOT_IN, "fileSize", "java.lang.Long", "Float");
          return this;
      }
	public CmsFileCriteria andFileExtIsNull() {
		isnull("file_ext");
		return this;
	}
	
	public CmsFileCriteria andFileExtIsNotNull() {
		notNull("file_ext");
		return this;
	}
	
	public CmsFileCriteria andFileExtIsEmpty() {
		empty("file_ext");
		return this;
	}

	public CmsFileCriteria andFileExtIsNotEmpty() {
		notEmpty("file_ext");
		return this;
	}
        public CmsFileCriteria andFileExtLike(java.lang.String value) {
    	   addCriterion("file_ext", value, ConditionMode.FUZZY, "fileExt", "java.lang.String", "Float");
    	   return this;
      }

      public CmsFileCriteria andFileExtNotLike(java.lang.String value) {
          addCriterion("file_ext", value, ConditionMode.NOT_FUZZY, "fileExt", "java.lang.String", "Float");
          return this;
      }
      public CmsFileCriteria andFileExtEqualTo(java.lang.String value) {
          addCriterion("file_ext", value, ConditionMode.EQUAL, "fileExt", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileExtNotEqualTo(java.lang.String value) {
          addCriterion("file_ext", value, ConditionMode.NOT_EQUAL, "fileExt", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileExtGreaterThan(java.lang.String value) {
          addCriterion("file_ext", value, ConditionMode.GREATER_THEN, "fileExt", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileExtGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("file_ext", value, ConditionMode.GREATER_EQUAL, "fileExt", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileExtLessThan(java.lang.String value) {
          addCriterion("file_ext", value, ConditionMode.LESS_THEN, "fileExt", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileExtLessThanOrEqualTo(java.lang.String value) {
          addCriterion("file_ext", value, ConditionMode.LESS_EQUAL, "fileExt", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileExtBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("file_ext", value1, value2, ConditionMode.BETWEEN, "fileExt", "java.lang.String", "String");
    	  return this;
      }

      public CmsFileCriteria andFileExtNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("file_ext", value1, value2, ConditionMode.NOT_BETWEEN, "fileExt", "java.lang.String", "String");
          return this;
      }
        
      public CmsFileCriteria andFileExtIn(List<java.lang.String> values) {
          addCriterion("file_ext", values, ConditionMode.IN, "fileExt", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileExtNotIn(List<java.lang.String> values) {
          addCriterion("file_ext", values, ConditionMode.NOT_IN, "fileExt", "java.lang.String", "String");
          return this;
      }
	public CmsFileCriteria andFileUserIdIsNull() {
		isnull("file_user_id");
		return this;
	}
	
	public CmsFileCriteria andFileUserIdIsNotNull() {
		notNull("file_user_id");
		return this;
	}
	
	public CmsFileCriteria andFileUserIdIsEmpty() {
		empty("file_user_id");
		return this;
	}

	public CmsFileCriteria andFileUserIdIsNotEmpty() {
		notEmpty("file_user_id");
		return this;
	}
       public CmsFileCriteria andFileUserIdEqualTo(java.lang.Long value) {
          addCriterion("file_user_id", value, ConditionMode.EQUAL, "fileUserId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileUserIdNotEqualTo(java.lang.Long value) {
          addCriterion("file_user_id", value, ConditionMode.NOT_EQUAL, "fileUserId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileUserIdGreaterThan(java.lang.Long value) {
          addCriterion("file_user_id", value, ConditionMode.GREATER_THEN, "fileUserId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileUserIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_user_id", value, ConditionMode.GREATER_EQUAL, "fileUserId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileUserIdLessThan(java.lang.Long value) {
          addCriterion("file_user_id", value, ConditionMode.LESS_THEN, "fileUserId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileUserIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_user_id", value, ConditionMode.LESS_EQUAL, "fileUserId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileUserIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("file_user_id", value1, value2, ConditionMode.BETWEEN, "fileUserId", "java.lang.Long", "Float");
    	  return this;
      }

      public CmsFileCriteria andFileUserIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("file_user_id", value1, value2, ConditionMode.NOT_BETWEEN, "fileUserId", "java.lang.Long", "Float");
          return this;
      }
        
      public CmsFileCriteria andFileUserIdIn(List<java.lang.Long> values) {
          addCriterion("file_user_id", values, ConditionMode.IN, "fileUserId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileUserIdNotIn(List<java.lang.Long> values) {
          addCriterion("file_user_id", values, ConditionMode.NOT_IN, "fileUserId", "java.lang.Long", "Float");
          return this;
      }
	public CmsFileCriteria andFileUuidIsNull() {
		isnull("file_uuid");
		return this;
	}
	
	public CmsFileCriteria andFileUuidIsNotNull() {
		notNull("file_uuid");
		return this;
	}
	
	public CmsFileCriteria andFileUuidIsEmpty() {
		empty("file_uuid");
		return this;
	}

	public CmsFileCriteria andFileUuidIsNotEmpty() {
		notEmpty("file_uuid");
		return this;
	}
        public CmsFileCriteria andFileUuidLike(java.lang.String value) {
    	   addCriterion("file_uuid", value, ConditionMode.FUZZY, "fileUuid", "java.lang.String", "Float");
    	   return this;
      }

      public CmsFileCriteria andFileUuidNotLike(java.lang.String value) {
          addCriterion("file_uuid", value, ConditionMode.NOT_FUZZY, "fileUuid", "java.lang.String", "Float");
          return this;
      }
      public CmsFileCriteria andFileUuidEqualTo(java.lang.String value) {
          addCriterion("file_uuid", value, ConditionMode.EQUAL, "fileUuid", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileUuidNotEqualTo(java.lang.String value) {
          addCriterion("file_uuid", value, ConditionMode.NOT_EQUAL, "fileUuid", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileUuidGreaterThan(java.lang.String value) {
          addCriterion("file_uuid", value, ConditionMode.GREATER_THEN, "fileUuid", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileUuidGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("file_uuid", value, ConditionMode.GREATER_EQUAL, "fileUuid", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileUuidLessThan(java.lang.String value) {
          addCriterion("file_uuid", value, ConditionMode.LESS_THEN, "fileUuid", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileUuidLessThanOrEqualTo(java.lang.String value) {
          addCriterion("file_uuid", value, ConditionMode.LESS_EQUAL, "fileUuid", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileUuidBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("file_uuid", value1, value2, ConditionMode.BETWEEN, "fileUuid", "java.lang.String", "String");
    	  return this;
      }

      public CmsFileCriteria andFileUuidNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("file_uuid", value1, value2, ConditionMode.NOT_BETWEEN, "fileUuid", "java.lang.String", "String");
          return this;
      }
        
      public CmsFileCriteria andFileUuidIn(List<java.lang.String> values) {
          addCriterion("file_uuid", values, ConditionMode.IN, "fileUuid", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileUuidNotIn(List<java.lang.String> values) {
          addCriterion("file_uuid", values, ConditionMode.NOT_IN, "fileUuid", "java.lang.String", "String");
          return this;
      }
	public CmsFileCriteria andFilePathIsNull() {
		isnull("file_path");
		return this;
	}
	
	public CmsFileCriteria andFilePathIsNotNull() {
		notNull("file_path");
		return this;
	}
	
	public CmsFileCriteria andFilePathIsEmpty() {
		empty("file_path");
		return this;
	}

	public CmsFileCriteria andFilePathIsNotEmpty() {
		notEmpty("file_path");
		return this;
	}
        public CmsFileCriteria andFilePathLike(java.lang.String value) {
    	   addCriterion("file_path", value, ConditionMode.FUZZY, "filePath", "java.lang.String", "String");
    	   return this;
      }

      public CmsFileCriteria andFilePathNotLike(java.lang.String value) {
          addCriterion("file_path", value, ConditionMode.NOT_FUZZY, "filePath", "java.lang.String", "String");
          return this;
      }
      public CmsFileCriteria andFilePathEqualTo(java.lang.String value) {
          addCriterion("file_path", value, ConditionMode.EQUAL, "filePath", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFilePathNotEqualTo(java.lang.String value) {
          addCriterion("file_path", value, ConditionMode.NOT_EQUAL, "filePath", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFilePathGreaterThan(java.lang.String value) {
          addCriterion("file_path", value, ConditionMode.GREATER_THEN, "filePath", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFilePathGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("file_path", value, ConditionMode.GREATER_EQUAL, "filePath", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFilePathLessThan(java.lang.String value) {
          addCriterion("file_path", value, ConditionMode.LESS_THEN, "filePath", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFilePathLessThanOrEqualTo(java.lang.String value) {
          addCriterion("file_path", value, ConditionMode.LESS_EQUAL, "filePath", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFilePathBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("file_path", value1, value2, ConditionMode.BETWEEN, "filePath", "java.lang.String", "String");
    	  return this;
      }

      public CmsFileCriteria andFilePathNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("file_path", value1, value2, ConditionMode.NOT_BETWEEN, "filePath", "java.lang.String", "String");
          return this;
      }
        
      public CmsFileCriteria andFilePathIn(List<java.lang.String> values) {
          addCriterion("file_path", values, ConditionMode.IN, "filePath", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFilePathNotIn(List<java.lang.String> values) {
          addCriterion("file_path", values, ConditionMode.NOT_IN, "filePath", "java.lang.String", "String");
          return this;
      }
	public CmsFileCriteria andFileStateIsNull() {
		isnull("file_state");
		return this;
	}
	
	public CmsFileCriteria andFileStateIsNotNull() {
		notNull("file_state");
		return this;
	}
	
	public CmsFileCriteria andFileStateIsEmpty() {
		empty("file_state");
		return this;
	}

	public CmsFileCriteria andFileStateIsNotEmpty() {
		notEmpty("file_state");
		return this;
	}
       public CmsFileCriteria andFileStateEqualTo(java.lang.Integer value) {
          addCriterion("file_state", value, ConditionMode.EQUAL, "fileState", "java.lang.Integer", "Float");
          return this;
      }

      public CmsFileCriteria andFileStateNotEqualTo(java.lang.Integer value) {
          addCriterion("file_state", value, ConditionMode.NOT_EQUAL, "fileState", "java.lang.Integer", "Float");
          return this;
      }

      public CmsFileCriteria andFileStateGreaterThan(java.lang.Integer value) {
          addCriterion("file_state", value, ConditionMode.GREATER_THEN, "fileState", "java.lang.Integer", "Float");
          return this;
      }

      public CmsFileCriteria andFileStateGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("file_state", value, ConditionMode.GREATER_EQUAL, "fileState", "java.lang.Integer", "Float");
          return this;
      }

      public CmsFileCriteria andFileStateLessThan(java.lang.Integer value) {
          addCriterion("file_state", value, ConditionMode.LESS_THEN, "fileState", "java.lang.Integer", "Float");
          return this;
      }

      public CmsFileCriteria andFileStateLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("file_state", value, ConditionMode.LESS_EQUAL, "fileState", "java.lang.Integer", "Float");
          return this;
      }

      public CmsFileCriteria andFileStateBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("file_state", value1, value2, ConditionMode.BETWEEN, "fileState", "java.lang.Integer", "Float");
    	  return this;
      }

      public CmsFileCriteria andFileStateNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("file_state", value1, value2, ConditionMode.NOT_BETWEEN, "fileState", "java.lang.Integer", "Float");
          return this;
      }
        
      public CmsFileCriteria andFileStateIn(List<java.lang.Integer> values) {
          addCriterion("file_state", values, ConditionMode.IN, "fileState", "java.lang.Integer", "Float");
          return this;
      }

      public CmsFileCriteria andFileStateNotIn(List<java.lang.Integer> values) {
          addCriterion("file_state", values, ConditionMode.NOT_IN, "fileState", "java.lang.Integer", "Float");
          return this;
      }
	public CmsFileCriteria andFileCategoryIdIsNull() {
		isnull("file_category_id");
		return this;
	}
	
	public CmsFileCriteria andFileCategoryIdIsNotNull() {
		notNull("file_category_id");
		return this;
	}
	
	public CmsFileCriteria andFileCategoryIdIsEmpty() {
		empty("file_category_id");
		return this;
	}

	public CmsFileCriteria andFileCategoryIdIsNotEmpty() {
		notEmpty("file_category_id");
		return this;
	}
       public CmsFileCriteria andFileCategoryIdEqualTo(java.lang.Long value) {
          addCriterion("file_category_id", value, ConditionMode.EQUAL, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileCategoryIdNotEqualTo(java.lang.Long value) {
          addCriterion("file_category_id", value, ConditionMode.NOT_EQUAL, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileCategoryIdGreaterThan(java.lang.Long value) {
          addCriterion("file_category_id", value, ConditionMode.GREATER_THEN, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileCategoryIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_category_id", value, ConditionMode.GREATER_EQUAL, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileCategoryIdLessThan(java.lang.Long value) {
          addCriterion("file_category_id", value, ConditionMode.LESS_THEN, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileCategoryIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("file_category_id", value, ConditionMode.LESS_EQUAL, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileCategoryIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("file_category_id", value1, value2, ConditionMode.BETWEEN, "fileCategoryId", "java.lang.Long", "Float");
    	  return this;
      }

      public CmsFileCriteria andFileCategoryIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("file_category_id", value1, value2, ConditionMode.NOT_BETWEEN, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }
        
      public CmsFileCriteria andFileCategoryIdIn(List<java.lang.Long> values) {
          addCriterion("file_category_id", values, ConditionMode.IN, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }

      public CmsFileCriteria andFileCategoryIdNotIn(List<java.lang.Long> values) {
          addCriterion("file_category_id", values, ConditionMode.NOT_IN, "fileCategoryId", "java.lang.Long", "Float");
          return this;
      }
	public CmsFileCriteria andFileTagIsNull() {
		isnull("file_tag");
		return this;
	}
	
	public CmsFileCriteria andFileTagIsNotNull() {
		notNull("file_tag");
		return this;
	}
	
	public CmsFileCriteria andFileTagIsEmpty() {
		empty("file_tag");
		return this;
	}

	public CmsFileCriteria andFileTagIsNotEmpty() {
		notEmpty("file_tag");
		return this;
	}
        public CmsFileCriteria andFileTagLike(java.lang.String value) {
    	   addCriterion("file_tag", value, ConditionMode.FUZZY, "fileTag", "java.lang.String", "Float");
    	   return this;
      }

      public CmsFileCriteria andFileTagNotLike(java.lang.String value) {
          addCriterion("file_tag", value, ConditionMode.NOT_FUZZY, "fileTag", "java.lang.String", "Float");
          return this;
      }
      public CmsFileCriteria andFileTagEqualTo(java.lang.String value) {
          addCriterion("file_tag", value, ConditionMode.EQUAL, "fileTag", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileTagNotEqualTo(java.lang.String value) {
          addCriterion("file_tag", value, ConditionMode.NOT_EQUAL, "fileTag", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileTagGreaterThan(java.lang.String value) {
          addCriterion("file_tag", value, ConditionMode.GREATER_THEN, "fileTag", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileTagGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("file_tag", value, ConditionMode.GREATER_EQUAL, "fileTag", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileTagLessThan(java.lang.String value) {
          addCriterion("file_tag", value, ConditionMode.LESS_THEN, "fileTag", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileTagLessThanOrEqualTo(java.lang.String value) {
          addCriterion("file_tag", value, ConditionMode.LESS_EQUAL, "fileTag", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileTagBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("file_tag", value1, value2, ConditionMode.BETWEEN, "fileTag", "java.lang.String", "String");
    	  return this;
      }

      public CmsFileCriteria andFileTagNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("file_tag", value1, value2, ConditionMode.NOT_BETWEEN, "fileTag", "java.lang.String", "String");
          return this;
      }
        
      public CmsFileCriteria andFileTagIn(List<java.lang.String> values) {
          addCriterion("file_tag", values, ConditionMode.IN, "fileTag", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileTagNotIn(List<java.lang.String> values) {
          addCriterion("file_tag", values, ConditionMode.NOT_IN, "fileTag", "java.lang.String", "String");
          return this;
      }
	public CmsFileCriteria andFileCreateTimeIsNull() {
		isnull("file_create_time");
		return this;
	}
	
	public CmsFileCriteria andFileCreateTimeIsNotNull() {
		notNull("file_create_time");
		return this;
	}
	
	public CmsFileCriteria andFileCreateTimeIsEmpty() {
		empty("file_create_time");
		return this;
	}

	public CmsFileCriteria andFileCreateTimeIsNotEmpty() {
		notEmpty("file_create_time");
		return this;
	}
       public CmsFileCriteria andFileCreateTimeEqualTo(java.util.Date value) {
          addCriterion("file_create_time", value, ConditionMode.EQUAL, "fileCreateTime", "java.util.Date", "String");
          return this;
      }

      public CmsFileCriteria andFileCreateTimeNotEqualTo(java.util.Date value) {
          addCriterion("file_create_time", value, ConditionMode.NOT_EQUAL, "fileCreateTime", "java.util.Date", "String");
          return this;
      }

      public CmsFileCriteria andFileCreateTimeGreaterThan(java.util.Date value) {
          addCriterion("file_create_time", value, ConditionMode.GREATER_THEN, "fileCreateTime", "java.util.Date", "String");
          return this;
      }

      public CmsFileCriteria andFileCreateTimeGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("file_create_time", value, ConditionMode.GREATER_EQUAL, "fileCreateTime", "java.util.Date", "String");
          return this;
      }

      public CmsFileCriteria andFileCreateTimeLessThan(java.util.Date value) {
          addCriterion("file_create_time", value, ConditionMode.LESS_THEN, "fileCreateTime", "java.util.Date", "String");
          return this;
      }

      public CmsFileCriteria andFileCreateTimeLessThanOrEqualTo(java.util.Date value) {
          addCriterion("file_create_time", value, ConditionMode.LESS_EQUAL, "fileCreateTime", "java.util.Date", "String");
          return this;
      }

      public CmsFileCriteria andFileCreateTimeBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("file_create_time", value1, value2, ConditionMode.BETWEEN, "fileCreateTime", "java.util.Date", "String");
    	  return this;
      }

      public CmsFileCriteria andFileCreateTimeNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("file_create_time", value1, value2, ConditionMode.NOT_BETWEEN, "fileCreateTime", "java.util.Date", "String");
          return this;
      }
        
      public CmsFileCriteria andFileCreateTimeIn(List<java.util.Date> values) {
          addCriterion("file_create_time", values, ConditionMode.IN, "fileCreateTime", "java.util.Date", "String");
          return this;
      }

      public CmsFileCriteria andFileCreateTimeNotIn(List<java.util.Date> values) {
          addCriterion("file_create_time", values, ConditionMode.NOT_IN, "fileCreateTime", "java.util.Date", "String");
          return this;
      }
	public CmsFileCriteria andFileBriefIsNull() {
		isnull("file_brief");
		return this;
	}
	
	public CmsFileCriteria andFileBriefIsNotNull() {
		notNull("file_brief");
		return this;
	}
	
	public CmsFileCriteria andFileBriefIsEmpty() {
		empty("file_brief");
		return this;
	}

	public CmsFileCriteria andFileBriefIsNotEmpty() {
		notEmpty("file_brief");
		return this;
	}
        public CmsFileCriteria andFileBriefLike(java.lang.String value) {
    	   addCriterion("file_brief", value, ConditionMode.FUZZY, "fileBrief", "java.lang.String", "String");
    	   return this;
      }

      public CmsFileCriteria andFileBriefNotLike(java.lang.String value) {
          addCriterion("file_brief", value, ConditionMode.NOT_FUZZY, "fileBrief", "java.lang.String", "String");
          return this;
      }
      public CmsFileCriteria andFileBriefEqualTo(java.lang.String value) {
          addCriterion("file_brief", value, ConditionMode.EQUAL, "fileBrief", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileBriefNotEqualTo(java.lang.String value) {
          addCriterion("file_brief", value, ConditionMode.NOT_EQUAL, "fileBrief", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileBriefGreaterThan(java.lang.String value) {
          addCriterion("file_brief", value, ConditionMode.GREATER_THEN, "fileBrief", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileBriefGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("file_brief", value, ConditionMode.GREATER_EQUAL, "fileBrief", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileBriefLessThan(java.lang.String value) {
          addCriterion("file_brief", value, ConditionMode.LESS_THEN, "fileBrief", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileBriefLessThanOrEqualTo(java.lang.String value) {
          addCriterion("file_brief", value, ConditionMode.LESS_EQUAL, "fileBrief", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileBriefBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("file_brief", value1, value2, ConditionMode.BETWEEN, "fileBrief", "java.lang.String", "String");
    	  return this;
      }

      public CmsFileCriteria andFileBriefNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("file_brief", value1, value2, ConditionMode.NOT_BETWEEN, "fileBrief", "java.lang.String", "String");
          return this;
      }
        
      public CmsFileCriteria andFileBriefIn(List<java.lang.String> values) {
          addCriterion("file_brief", values, ConditionMode.IN, "fileBrief", "java.lang.String", "String");
          return this;
      }

      public CmsFileCriteria andFileBriefNotIn(List<java.lang.String> values) {
          addCriterion("file_brief", values, ConditionMode.NOT_IN, "fileBrief", "java.lang.String", "String");
          return this;
      }
}